From 17a7536bd9527ee840b0f07edd85f8a753f20a92 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 10 May 2005 10:02:28 +0000 Subject: [PATCH] bitkeeper revision 1.1389.5.41 (428086b4WGIdNR8TJaRkbtDcDMeorg) Fix the 32-bit build (broken by previous changeset). Signed-off-by: Keir Fraser --- xen/arch/x86/Makefile | 1 + xen/include/asm-x86/x86_32/domain_page.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index ddb605e9cf..dfc64ddf9c 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -35,6 +35,7 @@ clean: rm -f x86_32/*.o x86_32/*~ x86_32/core rm -f x86_64/*.o x86_64/*~ x86_64/core rm -f mtrr/*.o mtrr/*~ mtrr/core + rm -f acpi/*.o acpi/*~ acpi/core delete-unfresh-files: # nothing diff --git a/xen/include/asm-x86/x86_32/domain_page.h b/xen/include/asm-x86/x86_32/domain_page.h index b0ffad43a4..7ebb72eb72 100644 --- a/xen/include/asm-x86/x86_32/domain_page.h +++ b/xen/include/asm-x86/x86_32/domain_page.h @@ -31,13 +31,11 @@ struct map_dom_mem_cache { void *va; }; -#define MAP_DOM_MEM_CACHE_INIT { .pa = 0 } - static inline void init_map_domain_mem_cache(struct map_dom_mem_cache *cache) { ASSERT(cache != NULL); - *cache = MAP_DOM_MEM_CACHE_INIT; + cache->pa = 0; } static inline void * -- 2.30.2